[]
        
(Showing Draft Content)

C1.DataCollection.C1FilterDataCollection-1.InsertAsync

InsertAsync Method

InsertAsync(int, T, CancellationToken)

Inserts the specified item at the specified index in the collection.

Declaration
public override Task<int> InsertAsync(int index, T item, CancellationToken cancellationToken)
Public Overrides Function InsertAsync(index As Integer, item As T, cancellationToken As CancellationToken) As Task(Of Integer)
Parameters
Type Name Description
int index

The index where the item will be inserted.

T item

The item to be inserted.

CancellationToken cancellationToken

The cancellation token.

Returns
Type Description
Task<int>
Overrides